<template>
	<view>
		<button @click="goToLogin" class="login-btn">登录</button>
		<navigator class="smart-panel-title" url="/pages/components/city/city">
			<text>城市探索页面</text>
		</navigator>
		<navigator class="smart-panel-title" url="/pages/components/cards/cards">
			<text>置顶新闻界面</text>
		</navigator>
	</view>
</template>

<script>
	export default {
		methods: {
			goToLogin() {
				uni.navigateTo({
					url: '/pages/components/logins/logins'
				})
			}
		}
	}
</script>

<style>

</style>